﻿@using LView.CMS.Models;
@model List<LMyTask>
@{
    ViewData["title"] = "我的任务";
}

<style type="text/css">
    .site-doc-color li {
        display: inline-block;
        vertical-align: middle;
        width: 260px;
        margin-left: 20px;
        margin-bottom: 20px;
        padding: 20px 10px;
        color: #fff;
        text-align: center;
        border-radius: 2px;
        line-height: 22px;
        font-size: 14px;
    }

    .search-name {
        float: left;
        display: block;
        width: 90px;
        line-height: 40px;
    }

    #fundtype ul {
        line-height: 50px;
        /*        padding-left: 90px;*/
    }

        #fundtype ul li {
            float: left;
            width: 95px;
            height: 40px;
            text-align: center;
            line-height: 40px;
            cursor: pointer;
            margin-right: 10px;
            margin-top: 4px;
            background-color: #eeeeee;
        }
</style>

<fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;">
    <legend>我的任务</legend>
</fieldset>
<ul class="site-doc-color">
    @foreach (var item in Model)
    {
        <li style="border:2px solid #f4f4f4">
            <div class="content-top">
                <div class="progress">
                    <input type="hidden" value="@Math.Round(item.Percent,2)" />
                </div>
            </div>
            <input type='hidden' value="@item.TaskId" class="taskId" />
            <div class="content-bottom">
                <p style="color:black">@item.Name</p>
                <p style="color:black">@item.AssignUserName 指派于 @item.AssignDate</p>
            </div>

        </li>
    }
</ul>

@section Scripts{
    <script type="text/javascript" src="~/layui/layui.js"></script>
    <script src="~/CirleProcess/js/jquery-3.3.1.js"></script>
    <script src="~/CirleProcess/js/circle-progress.js"></script>
    <script src="~/CirleProcess/js/jquery.circle-progress.js"></script>
    <script type="text/javascript" src="~/js/MyTask/MyTaskList.js?_=@DateTime.Now.ToString("yyyyMMddHHmmss")"></script>
}
